﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.IO;
using System.ComponentModel;

namespace ClockwiseClient
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            string path = Directory.GetCurrentDirectory();
            int j = path.IndexOf('\\');
            ClassStock.strWorkDir = path.Substring(0, j);
            ClassStock.strWorkDir += "\\Clockwise";
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FormLogin formLogin = new FormLogin();
            formLogin.StartPosition = FormStartPosition.CenterScreen;
            Application.Run(formLogin);
        }
    }
}
